﻿<UserControl x:Class="Bewise.Phone.RatingControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:Phone="clr-namespace:Bewise.Phone"
    xmlns:sys="clr-namespace:System;assembly=mscorlib"         
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}">

    <Grid x:Name="rootElement" Height="24">

        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>

        <Phone:RatingButton x:Name="star1" Width="24" Grid.Column="0" />
        <Phone:RatingButton x:Name="star2" Width="24" Grid.Column="1" />
        <Phone:RatingButton x:Name="star3" Width="24" Grid.Column="2" />
        <Phone:RatingButton x:Name="star4" Width="24" Grid.Column="3" />
        <Phone:RatingButton x:Name="star5" Width="24" Grid.Column="4" />

    </Grid>
</UserControl>
